import instance from '@/utils/request';

export function gethouseinfoapi(data) {
    return instance.request({
        url: "api/SafeManage/GrtTreeHouseInfo",
        method: "post",
        data
    })
}

export function gethouseinfoselapi(data) {
    return instance.request({
        url: "api/SafeManage/GetHouseInfoSelect",
        method: "post",
        data
    })
}

export function postpatrolcollocateapi(data) {
    return instance.request({
        url: "api/SafeManage/PostAddPatrolCollocate",
        method: "post",
        data
    })
}

export function putpatrolcollocateapi(data) {
    return instance.request({
        url: "api/SafeManage/PutUpdatePatrolCollocate",
        method: "put",
        data
    })
}

export function deletepatrolcollocateapi(data) {
    return instance.request({
        url: "api/SafeManage/DeleteById",
        method: "delete",
        data
    })
}

export function getpatrolcollocateapi(data) {
    return instance.request({
        url: "api/SafeManage/GetPatrolCollocate",
        method: "post",
        data
    })
}

export function getlistpatrolcollocateapi(data) {
    return instance.request({
        url: "api/SafeManage/GetListPatrolCollocate",
        method: "post",
        data
    })
}

export function getnumapi(data) {
    return instance.request({
        url: "api/SafeManage/GetPatrolCollocateNum",
        method: "post",
        data
    })
}